package org.jeecg.modules.rental.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.rental.entity.RentalEBikeType;

import java.util.List;

/**
 * @Description: 电单车类型
 * @Author: sean
 * @Date:   2024-04-26
 * @Version: V1.0
 */
public interface RentalEBikeTypeMapper extends BaseMapper<RentalEBikeType> {

    List<RentalEBikeType> lists();

    IPage<RentalEBikeType> selectJoinPage(@Param("page") Page page,@Param("param") RentalEBikeType rentalCarType);

    @InterceptorIgnore(tenantLine = "true")
    List<RentalEBikeType> listNoTenant(@Param(Constants.WRAPPER) Wrapper wrapper);
}
